package com.tb.mapper;

import com.tb.model.AComment;
import com.tb.model.ACommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ACommentMapper {
    int countByExample(ACommentExample example);

    int deleteByExample(ACommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AComment record);

    int insertSelective(AComment record);

    List<AComment> selectByExample(ACommentExample example);

    AComment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AComment record, @Param("example") ACommentExample example);

    int updateByExample(@Param("record") AComment record, @Param("example") ACommentExample example);

    int updateByPrimaryKeySelective(AComment record);

    int updateByPrimaryKey(AComment record);
}